package com.zero.jewelry.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 评论管理对象 review
 * 
 * @author cai-xu-kun
 * @date 2025-09-15
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Review extends BaseEntity {
    /** 评论ID */
    @Excel(name = "评论ID")
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long productId;

    /** 评分 */
    @Excel(name = "评分")
    private Long rating;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 创建时间 */
    private Date createTime;


}
